﻿@model Layans.Data.ChatChanel


@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

@using (Html.BeginForm("index", "ChatChanel"))
{
    @Html.ValidationSummary(true)
    
    <fieldset>
        
        <legend>Chat chanel</legend>
         
        <div>
            @Html.LabelFor(m => m.Chats)
        </div>

        <div>
            @Html.LabelFor(m => m.Name)
        </div>

        <p>
            <input type="submit" value="Send" />
        </p>

    </fieldset>
}
@section Scripts {
    @Scripts.Render("~/bundeles/jqueryval")    
}